<?php 
	if(isset($category)){
		$banners = $this->requestAction('banners/getBanners/'.$category);
	}else{
		$banners = $this->requestAction('banners/getBanners');
	}
	if($banners == ''){
		$name = 'jobseeker.jpg';
	}else{
		foreach($banners as $key => $value):
			$name = 'files/'.$value;
			break;
		endforeach;
	}
?>

<div id="banner">
    <?php echo $this->Html->image($name);?>
</div><!--banner-->   